package net.pinnoocle.playdao.entity.shopPc.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

/**
 * 手动录入线下订单
 * @author ye
 * @Description
 * @create 2021-11-15 18:17
 */
@Data
public class SaveOfflineOrderParams {

    @ApiModelProperty("下单人手机号")
    @NotNull(message = "下单者手机号不能为空")
    private String mobile;

    @ApiModelProperty("支付金额")
    @NotNull(message = "支付金额不能为空")
    @DecimalMin(value = "0.1",message = "支付金额最少0.1元")
    private Double payPrice;

    @ApiModelProperty("门店id")
    private String stopId;
}
